<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <%@include file="/common/common.jsp" %>
    <link rel="stylesheet" href="${basePath}/css/layerPage.css${VERSION}"/>
</head>
<body>
<form id="form" name="form" class="form-horizontal" method="post">
    <div class="panel-body">
        <div class="form-group">
            <div id="imgDiv" class="col-sm-12">
                <%--<img src="${href}">--%>
            </div>
        </div>
        <button id="closeBtn" type="button" class="btn btn-success btn-submit">关闭</button>
    </div>
</form>
<script type="text/javascript">
    var href = parent.imgUrl;
    var imgDiv = document.getElementById("imgDiv");
    imgDiv.innerHTML = "";
    var img = document.createElement("img");
    img.src = href;
    img.style.width = "100%"
    imgDiv.appendChild(img);

    $("#closeBtn").click("click", function () {
        parent.layer.close(parent.pageDialog);
    });
</script>
</body>
</html>
